package com.ruoyi.scene.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 现场巡查问题业务对象 scene_inspection_issue
 *
 * @author llb
 * @date 2024-10-16
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SceneInspectionIssueBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 项目id
     */
    private Long projectId;

    /**
     * 标段id
     */
    private Long bdId;

    /**
     * 里程桩号
     */
    private String lczh;

    /**
     * 问题标题
     */
    private String wtbt;

    /**
     * 存在问题
     */
    private String czwt;

    /**
     * 巡查时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date xcsj;

    /**
     * 巡查上报人
     */
    private String xcsbr;

    /**
     * 整改要求
     */
    private String zgyq;

    /**
     * 整改时限
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date zgsx;

    /**
     * 附件id
     */
    private String fileId;

    /**
     * 审批状态
     */
    private String approvalStatus;
    //是否是全部项目
    private String allProject;

    /**
     * 指派人id
     */
    private String assignPeopleId;


    private Set<Long> fileNos;


    private Set<Long> fileNoOld;


}
